home *** CD-ROM | disk | FTP | other *** search
- Short: Programmable boot menu script
- Author: craig roebuck
- Uploader: craig.roebuck@ukonline.co.uk
- Type: util/batch
-
- This boot-startup is a user definable script which I created to allow me
- to run certain programmes (eg. T0, PGA & Golf) from startup without having to start without
- startup-sequence and typing in lines of commands into the cli.
- This way some other programmes can be mad to run that will not run after the
- workbench has loaded.
- The readme file inside the lha file has all the instruction you should need
- to understand how it works and how to change it for your own usage.
- Have fun, Live long and Prosper.
-
-
- Ever found that some programmes, especially games won't run from your
- harddrive once Workbench has loaded up. Well I have and there is nothing
- more irritating than to have to reboot your Amiga and start-up without
- the startup-sequence so you can type in a bunch of commands to get a
- game working.
-
- I decided to write a small program based on the WB3.x built in AmigaDos
- RequestChoice to get around this problem. Below is a simple explanation of how the script works.
- The whole program is a simple Amiga Script just like your start-up-
- sequence.
- The script has been tested on an A1200 32MB fast ram, 820MD IDE HD, 680MB HD,
- 420MB HD, A Delta CD-R/RW IDE and blizzard 1260 accelerator.
- Software: OS 3.1, KS3.1, IDEFIX + 4*Buffered I/F.
-
- lines 1-3 of the script constructs a standard header.
-
- line 4 displays the requester inquiring the user for a choice of start-
- up. This line sets up rq{$$} as a variable which will hold the value of
- the users input. The text held in the first set of quotes is for the
- requester header. the text held in the second set of quotes goes into
- the requester window, The *n*n starts a new line in the requester window
- for the text that follows it. in the same set of quotes.
-
- All text held in the following quotes is for the requester buttons.
- Each button is identified by a number, 1 being the first, 2 the second
- and so on. 0 is the last button.
-
- Line 5-7 asks if the value rq{$$} EQuals "0" (The last button) then skip
- to the part of the script where a "lab" statement is followed by "out",
- "endif" terminates the "if"
-
- lines 8-10 is similar to lines 5-7 but asks if button 1 was chosen
- instead and if this is true to skip to "lab ban", the string of
- characters that follow skip and lab could be anything of your choosing
- so long as they match, other wise the script won't know where to go.
-
- lines 11-19 do the same as 5-7 and 8-10 but ask if buttons 2,3 and 4
- have been clicked on respectively.
-
- Line 20,26,34,40 and 44 are all links for their respective skip
- commands.
-
- After a lab statement is followed by the lines that you would normally
- enter for your program of choice when booting up without the startup-
- sequence.
-
- Lines 6,17,25 and 31 all skip to "lab out"
- "unsetenv rq{$$}" clears the variable rq{$$}.
- "c:setpatch QUIET" replaces the setpatch command from the startup-
- sequence before returning to it. setpatch should be removed from the
- startup-sequence or you should precede it with a semi-colon so that it
- is ignored. this should be done because I have found that some software
- does not like what setpatch does to my system, maybe it's just because
- of my Blizzard 060?. N.B T0 needs setpatch so it is executed just before the game.
- If setpatch is not run before T0 your AGA chip set shows as ECS.
-
- Inyway at the end of this script execution of the startup-sequence is
- continued and workbench is loaded as usual. feel free to alter the
- script to your own needs.
-
- I have included copys of my boot-startup and startup-sequence files for your reference.
- Once you have created your own boot-startup (using a text editor like ed or golded)
- save it to your s: drawer.
-
- Just remember to keep a safe copy of your original startup-sequence
- incase you do anything you may want to undo in the future.
-
-